var Order = Vue.component('order', {

    data() {
        return {
            nav: [
                {
                    url: 'OPublish',
                    title: '发布货单'
                },{
                    url: 'OGrab',
                    title: '抢单中'
                },{
                    url: 'OProduct',
                    title: '生产中'
                },{
                    url: 'OFinish',
                    title: '完成'
                }
            ]
        }
    },
    
    template: `<div class="common__info__box">
                    <div class="common__info__tap order__info__tap">
                        <router-link v-for="(item, index) in nav" :to="{name: item.url}" tag="span">{{item.title}}</router-link>
                    </div>
                    <div class="common__info__con">
                        <router-view></router-view>
                    </div>
                </div>`,

    mounted() {
        
    },

    watch: {
        
    },

    methods: {
        
    },

    created() {
        
    },
})